package UI;
import java.util.Calendar;
import java.text.SimpleDateFormat;

public class DateUtils 
{

    /**
     * this class is created to allow us to timestample our ordre objects
     */
    public static final String DATE_FORMAT_NOW = "yyyy-MM-dd HH:mm s";

    public static String now() {
        Calendar cal = Calendar.getInstance();
        SimpleDateFormat sdf = new SimpleDateFormat(DATE_FORMAT_NOW);
        return sdf.format(cal.getTime());

    }

    public static void  main(String arg[]) {
        System.out.println("Now : " + DateUtils.now());
    }
}
